-
Home
-
AIP: Complete AI Pack (formerly AI Power)
-
2.3.18
-
Code
-
Classes
- BaseProviderStrategy
Total Complexity |
23 |
Dependencies |
1 |
Dependents |
1 |
Total lines |
92 |
Lines of code |
47 |
Logical lines of code |
24 |
Comment lines |
28 |
Methods |
13 |
Properties |
0 |
Methods 13
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
format_model_list() |
S |
53 |
5 |
22 |
decode_json() |
S |
62 |
4 |
10 |
get_request_options() |
S |
64 |
3 |
8 |
format_headers_for_curl() |
S |
68 |
2 |
7 |
build_api_url() |
S |
100 |
1 |
0 |
get_api_headers() |
S |
100 |
1 |
0 |
format_chat_payload() |
S |
100 |
1 |
0 |
parse_chat_response() |
S |
100 |
1 |
0 |
parse_error_response() |
S |
100 |
1 |
0 |
get_models() |
S |
100 |
1 |
0 |
build_sse_payload() |
S |
100 |
1 |
0 |
parse_sse_chunk() |
S |
100 |
1 |
0 |
generate_embeddings() |
S |
100 |
1 |
0 |